//package com.example.java.kafka.es9client;
//
//import co.elastic.clients.elasticsearch.core.DeleteResponse;
//
//public class DeleteDoc {
//    public static void main(String[] args) {
//        ConnectElasticsearch.connect(client -> {
//            DeleteResponse deleteResponse = client.delete(d -> d
//                    .index("user")
//                    .id("1001")
//            );
//            System.out.println("Delete result: " + deleteResponse);
//        });
//    }
//}